export const visibleByDisplay = (visible: boolean) => {
    return visible ? {} : { display: 'none' };
};

export function visibleByIf<L>(visible: boolean, left: L): L | null {
    return visible ? left : null;
}
